home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / OCFSRC.PAK / VERSION.CPP < prev   
C/C++ Source or Header  |  1997-05-06  |  841b  |  30 lines

  1. //----------------------------------------------------------------------------
  2. // ObjectComponents
  3. // Copyright (c) 1994, 1997 by Borland International, All Rights Reserved
  4. //
  5. // $Revision:   2.4  $
  6. //----------------------------------------------------------------------------
  7. #include <ocf/version.h>
  8.  
  9. #if     !defined(WHOAMI)
  10. # define WHOAMI "OCF"
  11. #endif
  12.  
  13. struct VersionHeader {
  14.   // The next three fields must be consecutive for VPRINT to locate
  15.   // the info
  16.         // Therefore, watch for 'improper' alignment settings.
  17.         //
  18.   char          VprintSignature[6];
  19.   unsigned long InternalVersion;
  20.   char          ComponentIDstring[ sizeof( WHOAMI )];
  21. };
  22.  
  23. // The following is for VPRINT's usage
  24. //
  25. VersionHeader HeaderVersion = {
  26.   {'$', '*', '$', '*', '$', '*'},
  27.   { OCFInternalVersion },
  28.   WHOAMI,
  29. };
  30.